<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主页</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="prism.css">
    <script src="prism.js"></script>
    <script src="tinymce/tinymce.min.js"></script>
    <script src="config.js"></script>

</head>

<body>
    <form onsubmit="return false;"><button name="submitbtn"></button>
        <textarea id="open-source-plugins">
        <h2>Got questions or need help?</h2>
        <ul>
          <li>Our <a class="mceNonEditable" href="https://www.tiny.cloud/docs/tinymce/6/">documentation</a> is a great resource for learning how to configure TinyMCE.</li>
          <li>Have a specific question? Try the <a href="https://stackoverflow.com/questions/tagged/tinymce" target="_blank" rel="noopener"><code>tinymce</code> tag at Stack Overflow</a>.</li>
          <li>We also offer enterprise grade support as part of <a href="https://www.tiny.cloud/pricing">TinyMCE premium plans</a>.</li>
        </ul>
        <p>Thanks for supporting TinyMCE! We hope it helps you and your users create great content.<br>All the best from the TinyMCE team.</p>
<pre class="language-java line-numbers"><code>package com.jy.frame.srs.constant;
import lombok.Getter;
/**
* 来源
* @author qianji
* @date 2021-03-16 16:02
*/
@Getter
public enum Source {

    /** 省人社 **/
    SRS(0, "省人社");

    private Integer value;
    private String description;

    Source(Integer value, String description) {
        this.value = value;
        this.description = description;
    }

}
        </code></pre>
    </textarea>
    </form>


    <button type="button" onclick="getContent()">获取内容</button>

    <pre class="line-numbers"><code class="language-java">
        package com.jy.frame.srs.constant;

        import lombok.Getter;

        /**
        * 来源
        * @author qianji
        * @date 2021-03-16 16:02
        */
        @Getter
        public enum Source {

            /** 省人社 **/
            SRS(0, "省人社");

            private Integer value;
            private String description;

            Source(Integer value, String description) {
                this.value = value;
                this.description = description;
            }

        }
    </code></pre>
    <pre class="line-numbers"><code class="language-bash">
        #!/bin/bash
        echo "Hello World"
    </code></pre>
</body>
<script>
    var tyId = 'open-source-plugins'
    function getContent() {
        var cnt = tinyMCE.activeEditor.getContent();
        console.log(cnt);
        alert(cnt);
    }
</script>

</html>